package com.project.restaurant.meal.dto;

import com.project.restaurant.pojo.MealType;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class MealDetail extends com.project.restaurant.pojo.Meal {
    @ApiModelProperty(value = "餐点类型")
    private MealType mealType;
    @ApiModelProperty(value = "餐点图片")
    private List<String> mealPictures;

    @Override
    public String toString() {
        return "MealDetail{" +
                super.toString() +
                "mealType=" + mealType +
                ", mealPictures=" + mealPictures +
                '}';
    }
}
